package cn.com.dhcc.app.pub.module.usermgr.vo;

import cn.com.dhcc.app.core.annotation.WsdColumn;
import cn.com.dhcc.app.core.annotation.WsdTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;
import cn.com.dhcc.app.pub.core.Table.SYS_BASE_TABLE;

/**
 * 用户角色关系表
 * @2016年3月3日 @下午2:42:53
 * @author 蒋佩釗
 */
@WsdTable
public class RelUserRole extends ModuleFeatureBean {
	
	@Override
	public String tableName() {
		return SYS_BASE_TABLE.SYS_BASE_REL_USER_ROLE;
	}
	
	@WsdColumn(name = "ROLE_ID")
	private String roleId;
	@WsdColumn(name = "USER_ID")
	private String userId;
	
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	@Override
	public String toString() {
		return "RelSysUserRole [roleId=" + roleId + ", userId=" + userId + "]";
	}
	
}
